Skip to main content

std_detect/detect/arch/
mips.rs

1//! Run-time feature detection on MIPS.
2
3features! {
4    @TARGET: mips;
5    @CFG: any(
6        target_arch = "mips",
7        target_arch = "mips32r6",
8        target_arch = "mips64",
9        target_arch = "mips64r6"
10    );
11    @MACRO_NAME: is_mips_feature_detected;
12    @MACRO_ATTRS:
13    /// Check for the presence of a CPU feature at runtime.
14    ///
15    /// When the feature is known to be enabled at compile time (e.g. via `-Ctarget-feature`)
16    /// the macro expands to `true`.
17    #[unstable(feature = "stdarch_mips_feature_detection", issue = "111188")]
18    @FEATURE: #[unstable(feature = "stdarch_mips_feature_detection", issue = "111188")] msa: "msa";
19    /// MIPS SIMD Architecture (MSA)
20}